package com.jianglin.state2.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jianglin.state2.dao.entity.Project;
import com.jianglin.state2.dao.mapper.ProjectMapper;
import com.jianglin.state2.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> implements ProjectService {

    @Autowired
    ProjectMapper projectMapper;

    @Override
    public List<Project> selectByClient(Integer client){
        return projectMapper.selectByClient(client);
    }
}
